import Vue from 'vue'
import App from './App'
import { all } from 'vue-client'

Vue.config.silent = true

/** ****************服务插件*********************/
import CancelService from './plugins/revenueService/CancelService'
import SelectService from './plugins/revenueService/SelectService'
import CardService from './plugins/revenueService/CardService'
import CardManageService from './plugins/revenueService/CardManageService'
import CommonService from './plugins/revenueService/CommonService'
import LogicService from './plugins/revenueService/LogicService'
import FileService from './plugins/revenueService/FileService'
import MachineChargeService from './plugins/revenueService/MachineChargeService'
import ChangeMeterService from './plugins/revenueService/ChangeMeterService'
import OffGasAddGasService from './plugins/revenueService/OffGasAddGasService'
import BillService from './plugins/revenueService/BillService'
import PrintService from './plugins/revenueService/PrintService'

Vue.use(SelectService)
Vue.use(CommonService)
Vue.use(CardService)
Vue.use(CardManageService)
Vue.use(LogicService)
Vue.use(FileService)
Vue.use(CancelService)
Vue.use(MachineChargeService)
Vue.use(ChangeMeterService)
Vue.use(OffGasAddGasService)
Vue.use(BillService)
Vue.use(PrintService)
// Vue.use(Log)
all()
require('./bootstrap/less/bootstrap.less')

/* 异步注册组件 */
/** **************************登录与主界面相关******************************/
// 登录界面
Vue.component('login', (resolve) => { require(['./components/server/Login'], resolve) })
// 变更公告
Vue.component('change-declare', (resolve) => { require(['./components/server/ChangeDeclare'], resolve) })
// 变更录入
Vue.component('add-changemsg', (resolve) => { require(['./components/server/AddChangeMsg'], resolve) })
// 主界面。包含左侧菜单和右侧内容区域
Vue.component('home-page', (resolve) => { require(['./components/Main'], resolve) })
// 左侧树
Vue.component('left-tree', (resolve) => { require(['./components/server/LeftTree'], resolve) })
// 左侧菜单收缩后的菜单组件
Vue.component('icon-tree', (resolve) => { require(['./components/server/IconTree'], resolve) })
// 修改密组件
Vue.component('modify-pw', (resolve) => { require(['./components/server/ModifyPw'], resolve) })
// 带权限验证得参数修改
Vue.component('idverify', (resolve) => { require(['./components/server/IdVerify'], resolve) })
/** **************************主菜单******************************/

// 综合业务 --综合操作
Vue.component('comprehen-search', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ComprehenSearch'], resolve) })
// 综合业务 --银行对账
Vue.component('bank-payment', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment'], resolve) })
// 售气收费 --收费
Vue.component('meter-charge', (resolve) => { require(['./components/SellGasCharge/MeterCharge/MeterCharge'], resolve) })
// 售气收费 --发卡售气
Vue.component('faka-list', (resolve) => { require(['./components/SellGasCharge/FakaList'], resolve) })
// 机表管理 --抄表管理
Vue.component('creat-and-revise', (resolve) => { require(['./components/revenue/HandManager/CreatAndRevise'], resolve) })
// 档案管理 --用户档案
Vue.component('user-files', (resolve) => { require(['./components/UserFiles/UserFiles'], resolve) })
// 物联网表信息
// Vue.component('web-meter-info', (resolve) => { require(['./components/webmeter/webmeterinfo/WebMeterInfo.vue'], resolve) })

// 营业报表 --抄表员汇总表
// 待实现

/** **************************通用组件******************************/
// 界面左边信息界面

// 加载数据，通过业务逻辑加载参数，单值，和气表品牌数据，通过相应的函数获取指定内容
Vue.component('load-data', (resolve) => { require(['./components/server/loadData'], resolve) })
// 用户列表操作总组件（查询用户列表，操作记录列表，用户信息详情汇总）
Vue.component('user-work', (resolve) => { require(['./components/revenue/base/UserWork'], resolve) })
// 查询用户列表，包含读卡和操作区域
Vue.component('user-list', (resolve) => { require(['./components/revenue/base/UserList'], resolve) })

// 用户信息详情汇总，包含用户基本信息详情，阶梯信息详情，读卡时读出的卡信息三个组件，会根据用户信息和是否读卡选择显示
Vue.component('mulitinfo', (resolve) => { require(['./components/revenue/base/leftview/Mulitinfo'], resolve) })
// 读卡后，卡上信息
Vue.component('cardinfo', (resolve) => { require(['./components/revenue/base/leftview/Cardinfo'], resolve) })
// 当前选择用户的用户基本信息
Vue.component('userinfo', (resolve) => { require(['./components/revenue/base/leftview/Userinfo'], resolve) })
// 当前选择用户的阶梯使用信息
Vue.component('stairinfo', (resolve) => { require(['./components/revenue/base/leftview/Stairinfo'], resolve) })
// 表具使用情况
Vue.component('meter-use', (resolve) => { require(['./components/revenue/base/leftview/MeterUse'], resolve) })
// 用户信息汇总
Vue.component('recordstoryinfo', (resolve) => { require(['./components/revenue/base/leftview/RecordStoryinfo'], resolve) })

// 界面右边信息界面
// 操作记录列表，可以切换查询用户列表的操作区域
Vue.component('card-list', (resolve) => { require(['./components/revenue/base/rightview/CardList'], resolve) })

/** **************************业务组件******************************/
/** ****************用户档案使用的组件********************/
// 用户综合信息
Vue.component('user-general-info', (resolve) => { require(['./components/UserFiles/UserGeneralInfo'], resolve) })
// 用户设备信息
Vue.component('user-device-info', (resolve) => { require(['./components/UserFiles/UserDeviceInfo'], resolve) })
// 用户基本信息
Vue.component('user-essential-info', (resolve) => { require(['./components/UserFiles/UserEssentialInfo'], resolve) })
// 用户基本信息
Vue.component('no-user-essential-info', (resolve) => { require(['./components/UserFiles/NoUserEssentialInfo'], resolve) })
// 用户表具信息
Vue.component('user-meter-info', (resolve) => { require(['./components/UserFiles/UserMeterInfo'], resolve) })
// 单个表具信息
Vue.component('meter-info', (resolve) => { require(['./components/UserFiles/MeterInfo'], resolve) })
// 用户票据信息
Vue.component('user-paper-info', (resolve) => { require(['./components/UserFiles/UserPaperInfo'], resolve) })
// 小区信息
Vue.component('new-area-info', (resolve) => { require(['./components/UserFiles/NewAreaInfo'], resolve) })
// 小区查询列表
Vue.component('area-list', (resolve) => { require(['./components/UserFiles/AreaList'], resolve) })
// 调压箱查询列表
Vue.component('box-manager', (resolve) => { require(['./components/UserFiles/AdjustableBox/BoxManager'], resolve) })
// 调压箱查询列表
Vue.component('add-box', (resolve) => { require(['./components/UserFiles/AdjustableBox/AddBox'], resolve) })
// 调压箱查询列表
Vue.component('box-list', (resolve) => { require(['./components/UserFiles/AdjustableBox/BoxList'], resolve) })
// 调压箱用户列表
Vue.component('box-user-list', (resolve) => { require(['./components/UserFiles/AdjustableBox/BoxUserList'], resolve) })

/** ************综合操作业务*****************/
// 补卡管理
Vue.component('replace-card-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ReplaceCard/ReplaceCardManage'], resolve) })
// 过户
Vue.component('transfer-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage'], resolve) })
// 发卡售气
Vue.component('show-card-sell-gas', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ShowCardSellGas/ShowCardSellGas'], resolve) })
// 表具停用
Vue.component('disable-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage'], resolve) })
// 表具启用
Vue.component('enable-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage'], resolve) })
// 换表管理
Vue.component('change-meter', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeter/ChangeMeter'], resolve) })
// 其他收费
Vue.component('other-charge', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/OtherCharge/OtherCharge'], resolve) })
// 超用收费
Vue.component('over-use-charge', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge'], resolve) })
// 掉气补气
Vue.component('off-gas-add-gas', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/OffGasAddGas/OffGasAddGas'], resolve) })
// 换表补气
Vue.component('change-meter-add-gas', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeterAddGas/ChangeMeterAddGas'], resolve) })
// 退费管理
Vue.component('refund-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/RefundManage/RefundManage'], resolve) })

/** ******************新综合查询组件组****************** **/
// 总组件
Vue.component('synth-query', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/SynthQuery'], resolve) })
// 发出查询组件
Vue.component('query-actually', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/QueryActually'], resolve) })
// 特殊查询提交选择器组件
Vue.component('query-types', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/left/QueryTypes'], resolve) })
// 特殊查询提交选择器组件
Vue.component('file-types', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/left/FileTypes'], resolve) })
// 汇总信息区域
Vue.component('synth-summary', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/SynthSummary'], resolve) })
// 收费查询查询条件
Vue.component('sell-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/SellCondition'], resolve) })
// 抄表查询
Vue.component('hand-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/HandCondition'], resolve) })
// 缴费查询
Vue.component('changemeter-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/ChangeMeterCondition'], resolve) })
// 缴费查询
Vue.component('pay-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/PayCondition'], resolve) })
// 其他收费
Vue.component('other-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/OtherCondition'], resolve) })
// 过户
Vue.component('tran-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/TranCondition'], resolve) })
// 冲正查询
Vue.component('correct-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/CorrectCondition'], resolve) })
// 补卡信息查询
Vue.component('fillcard-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/FillCardCondition'], resolve) })
// 补气信息查询
Vue.component('fillgas-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/FillGasCondition'], resolve) })
// 操作信息查询
Vue.component('operator-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/OperatorCondition'], resolve) })
// 表具信息查询
Vue.component('userfiles-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/UserFilesCondition'], resolve) })
// 用户基本信息查询
Vue.component('userinfo-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/UserinfoCondition'], resolve) })
// 撤销信息查询
Vue.component('cancel-condition', (resolve) => { require(['./components/revenue/businessQuery/synthQuery/CancelCondition'], resolve) })

/** ******************收费********************/
// 机表物联网表收费
Vue.component('machine-meter-center', (resolve) => { require(['./components/SellGasCharge/MeterCharge/MachineMeterCenter'], resolve) })
// 卡表收费
Vue.component('card-meter-center', (resolve) => { require(['./components/SellGasCharge/MeterCharge/CardMeterCenter'], resolve) })
// 机表，物联网表收费引导
Vue.component('machine-charge', (resolve) => { require(['./components/SellGasCharge/MeterCharge/MachineCharge'], resolve) })
// 购气撤销
Vue.component('card-meter-charge-cancel', (resolve) => { require(['./components/SellGasCharge/ChargeCancel/CardMeterChargeCancel'], resolve) })

/** ****************撤销业务*********************/
// 操作记录撤销
Vue.component('record-cancel', (resolve) => { require(['./components/revenue/base/rightview/RecordCancel'], resolve) })

/** ****************抄表管理*********************/
// 抄表录入
Vue.component('hand-manager', (resolve) => { require(['./components/revenue/HandManager/HandManager'], resolve) })

/** **************************插件**********************************/
// 获取气表信息
Vue.component('meter-message', (resolve) => { require(['./components/revenue/Common/MeterMessage'], resolve) })
// 缴费类型
Vue.component('charge-style', (resolve) => { require(['./components/revenue/Common/ChargeStyle'], resolve) })
// 支付方式
Vue.component('pay-style', (resolve) => { require(['./components/revenue/Common/PayStyle'], resolve) })
// 证件类型
Vue.component('cred-style', (resolve) => { require(['./components/revenue/Common/CredStyle'], resolve) })
// 打印方式
Vue.component('print-style', (resolve) => { require(['./components/revenue/Common/PrintStyle'], resolve) })
// 补卡类型
Vue.component('replace-card', (resolve) => { require(['./components/revenue/Common/ReplaceCard'], resolve) })
// 售气发票打印
Vue.component('print-bill', (resolve) => { require(['./components/revenue/Common/PrintBill'], resolve) })
// 其他收费发票打印
Vue.component('print-other-charge-bill', (resolve) => { require(['./components/revenue/Common/PrintOtherChargeBill'], resolve) })
// 其他收费发票补打印
Vue.component('reissue-other-bill', (resolve) => { require(['./components/revenue/Common/ReissueOtherBill'], resolve) })
// 有纳税人识别号其他收费发票补打印
Vue.component('reissue-tax-other-bill', (resolve) => { require(['./components/revenue/Common/ReissueTaxOtherBill'], resolve) })
// 换表发票
Vue.component('change-meter-bill', (resolve) => { require(['./components/revenue/Common/ChangeMeterBill'], resolve) })
// 换表补打发票
Vue.component('reissue-change-meter-bill', (resolve) => { require(['./components/revenue/Common/ReissueChangeMeterBill'], resolve) })

/** *********************右边卡片详情***************************/
// 发卡售气详情小组件
Vue.component('salecardgas-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/SalecardgasDetail'], resolve) })
// 卡表收费详情小组件
Vue.component('cardmetercenter-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/CardMeterCenterDetail'], resolve) })
// 卡表超用详情小组件
Vue.component('cardoveruser-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/CardOverUserDetail'], resolve) })
// 机表收费详情小组件
Vue.component('machinemetercenter-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/MachineMeterCenterDetail'], resolve) })
// 自动下账详情小组件
Vue.component('autoaccounts-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/AutoAccountsDetail'], resolve) })
// 自动下账详情小组件
Vue.component('bankdk-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/BankDKDetail'], resolve) })
// 自动下账详情小组件
Vue.component('bank-pay', (resolve) => { require(['./components/revenue/base/rightview/carddetail/BankPay'], resolve) })
// 自动下账详情小组件
Vue.component('wechat-pay', (resolve) => { require(['./components/revenue/base/rightview/carddetail/WeChatPay'], resolve) })
// 超用收费详情小组件
Vue.component('overuserchange-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/OverUserChangeDetail'], resolve) })
// 表具停用详情小组件
Vue.component('disablemanage-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/DisableManageDetail'], resolve) })
// 表具启用详情小组件
Vue.component('enablemanage-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/EnableManageDetail'], resolve) })
// 补卡管理详情小组件
Vue.component('replacecardmanage-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/ReplaceCardManageDetail'], resolve) })
// 补气情小组件
Vue.component('offgasaddgas-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/OffGasAddGasDetail'], resolve) })
// 过户管理详情小组件
Vue.component('transfermanage-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/TransferManageDetail'], resolve) })
// 其他收费详情小组件
Vue.component('othercharge-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/OtherChargeDetail'], resolve) })
// 抄表员变更详情小组件
Vue.component('inputtorchange-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/InputtorChangeDetail'], resolve) })
// 气价变更详情小组件
Vue.component('gaspricechange-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/GasPriceChangeDetail'], resolve) })
// 新增户档案详情小组件
Vue.component('adduser-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/AddUserDetail'], resolve) })
// 档案变更详情小组件
Vue.component('userchange-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/UserChangeDetail'], resolve) })
// 换表管理详情小组件
Vue.component('changemeter-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/ChangeMeterDetail'], resolve) })
// 销户详情小组件
Vue.component('cancellation-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/CancellationDetail'], resolve) })
// 用户退费详情小组件
Vue.component('refund-detail', (resolve) => { require(['./components/revenue/base/rightview/carddetail/RefundDetail'], resolve) })
// 精确查询，汇总所有的查询信息
Vue.component('sorting-query', (resolve) => { require(['./components/revenue/base/rightview/carddetail/SortingQuery'], resolve) })
// 票据补打
Vue.component('reissue-bill', (resolve) => { require(['./components/revenue/base/rightview/carddetail/ReissueBill'], resolve) })

// 参数管理
Vue.component('param-manage', (resolve) => { require(['./components/revenue/comprehen/ParamManager/ParamManage'], resolve) })
// 参数管理
Vue.component('param-page', (resolve) => { require(['./components/revenue/comprehen/ParamManager/ParamPage'], resolve) })
// 参数管理
Vue.component('single-page', (resolve) => { require(['./components/revenue/comprehen/ParamManager/SinglePage'], resolve) })

/** **************************换表相关组件***************************/
// 换新表
Vue.component('change-new-meter', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeter/ChangeNewMeter'], resolve) })
// 类型气量卡表旧表
Vue.component('gas-card-meter', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeter/GasCardMeter'], resolve) })
// 类型金额卡表旧表
Vue.component('amount-card-meter', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeter/AmountCardMeter'], resolve) })
// 类型机表，物联网表旧表
Vue.component('machine-meter', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeter/MachineMeter'], resolve) })

/** **************************批量操作组件**********************************/
// 换抄表员
Vue.component('change-meter-reader', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/BatchChange/ChangeMeterReader'], resolve) })
// 气价变更
Vue.component('change-price', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/BatchChange/ChangePrice'], resolve) })
// 档案管理 --批量销户
Vue.component('batch-cancellation', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellation'], resolve) })
// 档案管理 --批量启用
Vue.component('batch-enable', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnable'], resolve) })

// 气价管理
Vue.component('gas-price', (resolve) => { require(['./components/revenue/comprehen/StairPrice/GasPrice'], resolve) })
// 混合气价
Vue.component('mix-price', (resolve) => { require(['./components/revenue/comprehen/StairPrice/MixPrice'], resolve) })
// 固定气价
Vue.component('unit-price', (resolve) => { require(['./components/revenue/comprehen/StairPrice/UnitPrice'], resolve) })
// 阶梯气价
Vue.component('stair-price', (resolve) => { require(['./components/revenue/comprehen/StairPrice/StairPrice'], resolve) })
// 气价管理界面，包括已经保存的气价列表，和新增修改业务界面
Vue.component('gas-price-manage', (resolve) => { require(['./components/revenue/comprehen/StairPrice/GasPriceManage'], resolve) })
// 所有气价信息列表
Vue.component('gas-price-list', (resolve) => { require(['./components/revenue/comprehen/StairPrice/GasPriceList'], resolve) })
// 气价修改历史记录
Vue.component('update-info', (resolve) => { require(['./components/revenue/comprehen/StairPrice/UpdateInfo'], resolve) })

/** **************************业务查询**********************************/
// 收费查询
Vue.component('sellgas-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/SellgasQuery'], resolve) })
// 查询结果
Vue.component('query-result', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryResult'], resolve) })
// 精确查询模态框
Vue.component('precise-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/PreciseQuery'], resolve) })
// 稽查查询
Vue.component('inspect-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/InspectQuery'], resolve) })
// 精确查询内容
Vue.component('detail-item', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/DetailItem'], resolve) })
// 档案信息精确条件选择
Vue.component('user-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/UserInfo'], resolve) })
// 撤销信息精确条件选择
Vue.component('recordcancel-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/RecordCancel'], resolve) })
// 收费信息条件选取详情
Vue.component('sell-gas-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/SellGasInfo'], resolve) })
// 抄表信息条件选取详情
Vue.component('hand-plan-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/HandPlanInfo'], resolve) })
// 抄收信息条件选取详情
Vue.component('hand-sell-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/HandSellInfo'], resolve) })
// 操作信息精确条件选择
Vue.component('record-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/RecordInfo'], resolve) })
// 换表信息条件选取详情
Vue.component('change-meter-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/ChangeMeterInfo'], resolve) })
// 过户信息条件选取详情
Vue.component('transfer-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/TransferInfo'], resolve) })
// 冲正信息精确条件选择
Vue.component('correctrecord-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/CorrectRecordInfo'], resolve) })
// 补卡信息精确条件选择
Vue.component('fillcard-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/FillCardInfo'], resolve) })
// 补气信息精确条件选择
Vue.component('fillgas-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/FillGasInfo'], resolve) })
// 其他收费信息精确条件选择
Vue.component('othercharge-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/OtherChargeInfo'], resolve) })
// 批量更改信息条件选取详情
Vue.component('info-change-info', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/QueryCondition/InfoChangeInfo'], resolve) })
// 查询信息汇总
Vue.component('summarize', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/Summarize'], resolve) })
/** **************************汇总查询**********************************/
// 银行汇总详情查询
Vue.component('bank-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/BankQuery/BankQuery'], resolve) })
// 调压箱汇总详情查询
Vue.component('box-summarize', (resolve) => { require(['./components/revenue/summarizeQuery/BoxSummarize/BoxSummarize'], resolve) })
// 日汇总详情查询
Vue.component('day-summarize', (resolve) => { require(['./components/revenue/summarizeQuery/DaySummarize/DaySummarize'], resolve) })
/** **************************发票管理**********************************/
// 发票管理
Vue.component('bill-manage', (resolve) => { require(['./components/revenue/comprehen/Bill/BillManage'], resolve) })
// 分配汇总
Vue.component('distribution-gather', (resolve) => { require(['./components/revenue/comprehen/Bill/DistributionGather'], resolve) })
// 分配明细
Vue.component('distribution-detail', (resolve) => { require(['./components/revenue/comprehen/Bill/DistributionDetail'], resolve) })
// 修改
Vue.component('modify-distribution', (resolve) => { require(['./components/revenue/comprehen/Bill/modifyDistribution'], resolve) })
// 改变发票状态
Vue.component('change-bill-state', (resolve) => { require(['./components/revenue/comprehen/Bill/ChangeBillState'], resolve) })
/** **************************发卡管理**********************************/
// 发卡管理
Vue.component('card-manage', (resolve) => { require(['./components/revenue/comprehen/CardManage/CardManage'], resolve) })
// 分配信息列表
Vue.component('cardallot-list', (resolve) => { require(['./components/revenue/comprehen/CardManage/CardAllotList'], resolve) })
// 分配信息
Vue.component('cardallot-edit', (resolve) => { require(['./components/revenue/comprehen/CardManage/CardAllotEdit'], resolve) })
// 卡详情列表
Vue.component('carddeatil-list', (resolve) => { require(['./components/revenue/comprehen/CardManage/CardDetailList'], resolve) })
// 卡详情信息
Vue.component('carddeatil-edit', (resolve) => { require(['./components/revenue/comprehen/CardManage/CardDetailEdit'], resolve) })

/** **************************气表品牌管理**********************************/
// 气表品牌管理
Vue.component('gas-brand-manage', (resolve) => { require(['./components/revenue/comprehen/gasbrand/GasBrandManage'], resolve) })
// 气表品牌列表
Vue.component('gas-brand-list', (resolve) => { require(['./components/revenue/comprehen/gasbrand/GasBrandList'], resolve) })
// 气表品牌详情列表
Vue.component('gas-model-info', (resolve) => { require(['./components/revenue/comprehen/gasbrand/GasModelInfo'], resolve) })
// 添加或修改气表品牌组件
Vue.component('add-gas-brand', (resolve) => { require(['./components/revenue/comprehen/gasbrand/AddGasBrand'], resolve) })
// 添加或修改气表型号组件
Vue.component('add-gas-model-info', (resolve) => { require(['./components/revenue/comprehen/gasbrand/AddGasModelInfo'], resolve) })

/** ****************************短信管理**********************************************************/
// 用户欠费记录查询，生成短信模板
Vue.component('message-manage', (resolve) => { require(['./components/revenue/comprehen/Message/MessageManage'], resolve) })
// 用户欠费记录查询
Vue.component('arrears-list', (resolve) => { require(['./components/revenue/comprehen/Message/ArrearsList'], resolve) })
// 用户欠费记录查询
Vue.component('all-user', (resolve) => { require(['./components/revenue/comprehen/Message/AllUser'], resolve) })
// 短信模板
Vue.component('message-list', (resolve) => { require(['./components/revenue/comprehen/Message/MessageList'], resolve) })
// 用户自定义短信模板
Vue.component('user-defined-message', (resolve) => { require(['./components/revenue/comprehen/Message/UserDefinedMessage'], resolve) })

/** **************************其他**********************************/

// 抄表记录
Vue.component('hand-plan-list', (resolve) => { require(['./components/SellGasCharge/MeterCharge/HandPlanList'], resolve) })

/** ************卡操作***************/
// 开户操作
Vue.component('init-card', (resolve) => { require(['./components/revenue/base/CardServer/InitCard'], resolve) })
// 售气操作
Vue.component('sell-gas', (resolve) => { require(['./components/revenue/base/CardServer/SellGas'], resolve) })
// 读取卡信息操作
Vue.component('read-card', (resolve) => { require(['./components/revenue/base/CardServer/ReadCard'], resolve) })
// 卡信息
Vue.component('card-info-modal', (resolve) => { require(['./components/revenue/base/CardServer/cardInfoModal'], resolve) })

// 报表相关，所属为抄表员汇总表（实际为报表汇总表，功能名称后期改变）,调整找那个，尚未归类
// 菜单组件，报表总组件
Vue.component('report-pool', (resolve) => { require(['./components/revenue/businessQuery/Reports/ReportPool'], resolve) })
// 报表类型选项
Vue.component('report-items', (resolve) => { require(['./components/revenue/businessQuery/Reports/ReportItems'], resolve) })
// 往期报表，扎帐后报表，
Vue.component('report-history', (resolve) => { require(['./components/revenue/businessQuery/Reports/ReportHistory'], resolve) })
// 报表展示组件(抄表汇总表)
Vue.component('hand-collect', (resolve) => { require(['./components/revenue/businessQuery/Reports/HandCollect'], resolve) })
// 报表展示组件(日结账报表)
Vue.component('bus-summary', (resolve) => { require(['./components/revenue/businessQuery/Reports/BusSummary'], resolve) })
// 报表展示组件(抄表员汇总表)
Vue.component('meter-reader', (resolve) => { require(['./components/revenue/businessQuery/Reports/MeterReader'], resolve) })
// 报表展示组件(气价明细报表)
Vue.component('gas-price-detail', (resolve) => { require(['./components/revenue/businessQuery/Reports/GasPrice'], resolve) })
// 报表展示组件(用户统计表)
Vue.component('get-usernum', (resolve) => { require(['./components/revenue/businessQuery/Reports/GetUserNum'], resolve) })
// 报表展示组件(操作员日结账报表)
Vue.component('get-summary', (resolve) => { require(['./components/revenue/businessQuery/Reports/GetSummary'], resolve) })
// 报表展示组件(抄表情况统计表)
Vue.component('meter-bill', (resolve) => { require(['./components/revenue/businessQuery/Reports/MeterBill'], resolve) })
// 报表展示组件(预收款金额统计表)
Vue.component('yushou-bill', (resolve) => { require(['./components/revenue/businessQuery/Reports/YuShou'], resolve) })
// 报表展示组件(收费统计)
Vue.component('sells-bill', (resolve) => { require(['./components/revenue/businessQuery/Reports/ChargeBill'], resolve) })

// 付款方式饼图
Vue.component('paymentpie', (resolve) => { require(['./components/revenue/businessQuery/Reports/Paymentpie'], resolve) })
// 用户类型饼图
Vue.component('usertype-pie', (resolve) => { require(['./components/revenue/businessQuery/Reports/UsertypePie'], resolve) })
Vue.component('echarts-box', (resolve) => { require(['./components/revenue/businessQuery/Reports/EchartsBox'], resolve) })
Vue.component('gasprice-has', (resolve) => { require(['./components/revenue/businessQuery/Reports/GaspriceHas'], resolve) })
Vue.component('bussiness-type', (resolve) => { require(['./components/revenue/businessQuery/Reports/BussinessType'], resolve) })

// 综合查询图表
Vue.component('usegas-type', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/Echarts/UsegasType'], resolve) })
Vue.component('sell-typechart', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/Echarts/SellTypechart'], resolve) })
Vue.component('hand-play', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/Echarts/HandPlay'], resolve) })
Vue.component('record', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/Echarts/Record'], resolve) })
Vue.component('other-sum', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/Echarts/OtherSum'], resolve) })
// 欠费查询
Vue.component('arrea-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/ArreaQuery'], resolve) })
// 实施欠费查询
Vue.component('arrea-query-list', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/ArreaQueryList'], resolve) })
// 气表使用年限查询
Vue.component('gas-meter-use-limit', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/GasMeterUseLimit'], resolve) })
// 月用气量查询
Vue.component('gas-amount-of-month', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/GasAmountOfMonth'], resolve) })
// 抄表情况明细查询
Vue.component('meter-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/MeterQuery'], resolve) })
// 余气量统计
Vue.component('surplus-gas', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/SurplusGas'], resolve) })
// 异常抄表查询
Vue.component('abnormal-hand-plan', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/AbnormalHandPlan'], resolve) })
// 发票详情查询
Vue.component('bill-detail-query', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/BillDetailQuery'], resolve) })

// 抄表用户信息导出
Vue.component('hand-user-exp', (resolve) => { require(['./components/revenue/businessQuery/ComprehenQuery/HandUserExp'], resolve) })
/* eslint-disable no-new */
// 报表展示组件(收费统计汇总表)
Vue.component('sell-bill', (resolve) => { require(['./components/revenue/businessQuery/Reports/Selling'], resolve) })
// 对比分析(月报)
Vue.component('contrast', (resolve) => { require(['./components/revenue/businessQuery/Reports/Contrast'], resolve) })
// 报表展示组件(收费统计表)
Vue.component('collect-bill', (resolve) => { require(['./components/revenue/businessQuery/Reports/CollectFee'], resolve) })
// 银行对接
// 银行对接主页面
Vue.component('bank-docking', (resolve) => { require(['./components/revenue/bank/BankDocking'], resolve) })
// 银行对接详情
Vue.component('bank-form', (resolve) => { require(['./components/revenue/bank/BankForm'], resolve) })
// 银行对接列表
Vue.component('bank-list', (resolve) => { require(['./components/revenue/bank/BankList'], resolve) })
// 报建
//安检计划查询
Vue.component('check-plan', (resolve) => { require(['./components/checkplan/CheckPlan'], resolve) })
//安检信息
Vue.component('check-msg', (resolve) => { require(['./components/checkplan/CheckMsg'], resolve) })
//用户信息
Vue.component('user-msg', (resolve) => { require(['./components/checkplan/UserMsg'], resolve) })
//非民用用户信息
Vue.component('fuser-msg', (resolve) => { require(['./components/checkplan/FuserMsg'], resolve) })
//设备信息
Vue.component('equipment-msg', (resolve) => { require(['./components/checkplan/EquipmentMsg'], resolve) })
//非民用设备信息
Vue.component('fequipment-msg', (resolve) => { require(['./components/checkplan/FequipmentMsg'], resolve) })
//隐患检查
Vue.component('hidden-check', (resolve) => { require(['./components/checkplan/HiddenCheck'], resolve) })
//非民用隐患检查
Vue.component('fhidden-check', (resolve) => { require(['./components/checkplan/FhiddenCheck'], resolve) })
//用户意见
Vue.component('user-opinion', (resolve) => { require(['./components/checkplan/UserOpinion'], resolve) })
//用户意见
Vue.component('fuser-opinion', (resolve) => { require(['./components/checkplan/FuserOpinion'], resolve) })
//安检统计
Vue.component('check-tj', (resolve) => { require(['./components/checktj/CheckTj'], resolve) })

// 小区管理
Vue.component('all-area', (resolve) => { require(['./components/AreaManange/AllArea'], resolve) })
Vue.component('add-or-modify', (resolve) => { require(['./components/AreaManange/AddOrModify'], resolve) })
new Vue({
  el: 'body',
  components: { App }
})
